package mesweb.mesweb.entity.Procedure;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hszh.wms.mbg.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @Description: 产品线下发
 * @Author: jeecg-boot
 * @Date:   2021-07-04
 * @Version: V1.0
 */
@Data
@TableName("Model_Product_Procedure_Dispatch")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Model_Product_Procedure_Dispatch对象", description="产品线下发")
public class ModelProductProcedureDispatch extends BaseEntity {

    @ApiModelProperty(value = "productProcedureId")
	@TableField("Product_Procedure_Id")
	private Integer productProcedureLineId;
	/**factoryId*/

    @ApiModelProperty(value = "factoryId")
	private Integer factoryId;
	/**produceProcedureId*/

    @ApiModelProperty(value = "produceLineId")
	private Integer produceLineId;
	/**createuser*/

    @ApiModelProperty(value = "createuser")
	private String createuser;
	/**createtime*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createtime")
	private Date createtime;
	/**status*/

    @ApiModelProperty(value = "status")
	private Integer status;
	/**comment*/

    @ApiModelProperty(value = "comment")
	private String comment;

	@ApiModelProperty(value = "isDeleted")
    private Boolean isdeleted;

	private String version;

	@ApiModelProperty(value = "工序来源类型")
	private Integer sourceLineType;
}
